{% load i18n %}
<h3>{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}</h3>
<select style="margin: 0 15px; width: 210px;" onchange="redirect(this.options[this.options.selectedIndex].value)">
    {% for choice in choices %}
        <option value="{{ choice.query_string|iriencode }}" {% if choice.selected %} selected {% endif %} >{{ choice.display }}</option>
    {% endfor %}
</select>

<script>
    function redirect(url) {
        window.location.href = url
    }
</script>



